package com.z6pin.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import com.z6pin.entity.User;

@RestController
public class UserController {

	@RequestMapping(value = "/testZ6pinUser", method = RequestMethod.POST)
	public User testZ6pinUser(User user) {
		
		user.setName("测试成功");
        
		return user;
	}

}